/*
 * Copyright (c) 2023, 2023,yzc.cn All rights reserved.
 *
 */
package cn.yzc.service.impl;

import cn.yzc.mapper.UserMapper;
import cn.yzc.pojo.User;
import cn.yzc.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>Project: SpringBootPro - UserServiceImpl</p>
 * <p>Powered by yzc On 2023-11-10 21:43:17</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;
    @Override
    public int userRegister(User user) {
        return userMapper.userRegister(user);
    }

    @Override
    public int userLogin(String username, String password) {
        return userMapper.userLogin(username,password);
    }
}
